<?php
class User_Model_ClassesRoles extends Pldkp_Db_Table_Abstract {
    protected $_name = 'classes_roles';
    protected $_referenceMap = array(
        'Classes'   =>  array(
                            'columns'       => array('class_id'),
                            'refTableClass' => 'User_Model_Classes',
                            'refColumns'    => array('id')
                        ),
        'Roles'     =>  array(
                            'columns'       => array('role_id'),
                            'refTableClass' => 'User_Model_Roles',
                            'refColumns'    => array('id')
                        ),
    );
}
?>